<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
    request.setAttribute("contextPath", request.getContextPath());
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<table width="80%" border="1" bordercolor="blue">
		<tr>
			<td>bookName</td>
			<td>author</td>
			<td>price</td>
			<td>press</td>
			<td>publishTime</td>
			<td>edition</td>
			<td>pageNum</td>
			<td>image_w</td>
			<td>image_b</td>
			<td>reserve</td>
			<td>score</td>
			<td width="10%">操作</td>
		</tr>
		<tr>
			<td>${book.bookName}</td>
			<td>${book.author }</td>
			<td>${book.price }</td>
			<td>${book.press }</td>
			<td>${book.publishTime }</td>
			<td>${book.edition }</td>
			<td>${book.pageNum }</td>
			<td>${book.image_w }</td>
			<td>${book.image_b }</td>
			<td>${book.reserve }</td>
			<td>${book.score }</td>
			<td>
			    <a href="${contextPath }/orderController/generateOrder/${book.bookId}">生成订单</a>
			</td>
		</tr>
	</table>
</body>
</html>